package com.xinzhi.controller;

import com.xinzhi.service.impl.StartImpl;
import com.xinzhi.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class IsnullController {
    @Autowired
    private StartImpl start;

    /**
     * 判断手机号是否为空
     * @param phone
     * @return
     * Result
     */
    @GetMapping("/isnull")
    public Result isnull(String phone) {
        return start.isnull(phone);
    }

}
